﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Detail.Master" AutoEventWireup="true" CodeBehind="GrNews.aspx.cs" Inherits="MyWeb.Module.News.GrNews" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../../Styles/Home.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ListView ID="lsvgrnews" runat="server">
        <ItemTemplate>
            <div class="boxnews">
                <div class="imgnews"> <a href='<%# Url(Eval("GroupNewId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>'><img src="<%#Eval("Image") %>" alt="<%#Eval("Name") %>" width="150px" height="170px" /></a></div>
                <div class="newsdetail">
                    <a href='<%# Url(Eval("GroupNewId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>'><%#Eval("Name") %></a>
                    <p><%#Eval("Content") %></p>
                </div>
            </div>
           
        </ItemTemplate>
    </asp:ListView>
</asp:Content>
